package CreationModel.BuilderPattern;

/**
 * @author 王蕾 [wanglei_dev@cyou-inc.com]
 * @date 2017-12-05 11:16:00
 */
public class WomanBuilder implements PersonBuilder {

    Person person ;

    public WomanBuilder() {
        person = new Person();
    }

    @Override
    public void buildHeader() {
        System.out.println("建造女人的头");
    }

    @Override
    public void buildBody() {
        System.out.println("建造女人的身体");
    }

    @Override
    public void buildFoot() {
        System.out.println("建造女人的脚");
    }

    @Override
    public Person bulidPerson() {
        return person;
    }
}
